package com.sys.platform.service;

import com.sys.platform.entity.EntranceGuard;
import com.sys.platform.entity.EntranceGuardAccessRecord;
import org.springframework.stereotype.Service;

import java.util.List;

@Service
public interface IEntranceGuardService {

    /**
     * 查询门禁列表
     *
     * @param accessRecord 门禁
     * @return 门禁集合
     */
    List<EntranceGuard> selectEntranceGuardList(EntranceGuard accessRecord);

    /**
     * 查询门禁访问记录
     *
     * @param accessRecord 门禁
     * @return 门禁集合
     */
    List<EntranceGuardAccessRecord> selectEntranceGuardAccessRecordList(EntranceGuardAccessRecord accessRecord);

}
